export default function ({ store, redirect }) {
  //If the user is not auth
  if (!store.state.auth) { //有这个auth了
    return redirect('/login')
  }
}